
package cz.cvut.fel.y36mm1.videostreaming.screens;

import cz.cvut.fel.y36mm1.videostreaming.MainMidlet;
import java.io.IOException;
import javax.microedition.lcdui.Image;

/**
 * Welcom screen, displays some image and info
 * @author Jiri Chadima, chadij1
 */
public class WelcomeScreen extends AbstractScreen {

	public WelcomeScreen(MainMidlet root, String title) {
		super(root, title);
		initComponents();
	}

	public void initComponents() {
		setTitle("Y36MM1 Video Streaming");
		try {
			
			append(Image.createImage("/cz/cvut/fel/y36mm1/videostreaming/images/logo.png"));

		} catch (IOException ex) {
			ex.printStackTrace();
		}
		append("Jiří Mašek & Jiří Chadima, LS 2008/2009");
	}
}
